package org.springcloud.wisdom.spring_01_canteen.student;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springcloud.wisdom.spring_01_canteen.login.entity.Student;

@Mapper
public interface StudentDao {
    // 根据 ID 查询学生信息
    @Select("SELECT * FROM wisdom.student WHERE id = #{id}")
    Student selectById(Integer id);
}
